namespace Cos.Core.NHibernate.Mapping
{
    using FluentNHibernate.Mapping;

    public class OptionMap : ClassMap<OptionDataModel>
    {
        public OptionMap()
        {
            this.Table("Options");
            this.LazyLoad();
            this.Id(x => x.Id).Column("OptionID");
            this.Map(x => x.OptionOrder).Not.Nullable();
            this.Map(x => x.OptionName);
            this.Map(x => x.PartId).Column("PartID");
        }
    }
}